mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-01-24 16:06:51 +08:00
28 lines
687 B
YAML
28 lines
687 B
YAML
name: CI
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-18.04
|
|
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Setup
|
|
run: |
|
|
export DEBIAN_FRONTEND=noninteractive
|
|
sudo apt-add-repository -y ppa:deadsnakes/ppa
|
|
sudo apt-get -y install python3.7 python3.7-dev python3-pip python3-setuptools
|
|
sudo pip3 install pylint mypy typing-extensions
|
|
- name: Run a multi-line script
|
|
run: |
|
|
echo Add other actions to build,
|
|
python3 --version
|
|
which pylint || echo damn1
|
|
which mypy || echo damn2
|
|
cat `which mypy`
|
|
pylint --version
|
|
mypy --version
|
|
echo test, and deploy your project.
|