Skip to content

Simplifying downloader latest execution #264

Simplifying downloader latest execution

Simplifying downloader latest execution #264

Workflow file for this run

name: Build
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Install sharutils
run: sudo apt-get install sharutils
- uses: actions/setup-python@v2
with:
python-version: '3.9'
- uses: actions/checkout@v2
- name: Unit Tests
run: cd src && python3 -m unittest discover -s test/unit
- name: Integration Tests
run: cd src && python3 -m unittest discover -s test/integration
- name: System Quick Tests
run: cd src && python3 -m unittest discover -s test/system/quick
- name: System Slow Tests
run: cd src && python3 -m unittest discover -s test/system/slow
- name: Build
run: ZIP_FILE="$(pwd)/dont_download.zip" ./src/build.sh > dont_download.sh
- name: Release
id: release
run: |
git config --global user.email "theypsilon@gmail.com"
git config --global user.name "The CI/CD Bot"
./.github/release.sh
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}